package com.hs.demos.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@TableName("t_order")
@Data
public class Order {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField(value = "order_no")
    private String orderNo;
    @TableField(value = "user_id")
    private String userId;
    @TableField(value = "create_time")
    private LocalDateTime createTime;
}
